//
//  GlobalMethod.h
//  MexicoLoan
//
//  Created by WXP on 2025/2/24.
//

#import <Foundation/Foundation.h>

@interface GlobalMethod : NSObject

// delegate执行selector
+ (id)performSelector:(NSString *)selectorName delegate:(id)delegate;
+ (id)performSelector:(NSString *)selectorName delegate:(id)delegate object:(id)object isHasReturn:(BOOL)isHasReturn;
+ (id)performSelector:(NSString *)selectorName delegate:(id)delegate object:(id)object object:(id)object2 isHasReturn:(BOOL)isHasReturn;

// 配置rootNav
+ (void)configRootNav;

// 重新登录
+ (void)relogin;

// 退出登录
+ (void)logoutSuccess;

// 清除全局数据
+ (void)clearLocalUserInfo;



@end
